package com.example.jdbc_test.web;

import com.example.jdbc_test.dao.StaffDao;
import com.example.jdbc_test.dao.impl.StaffDaoImpl;
import com.example.jdbc_test.pojo.Staff;

/**
 * @ClassName SelectByIdTest
 * @Description TODO
 * @Author Kx
 * @Date 2025/2/25 11:55
 * @Version 1.0
 */
public class SelectByIdTest {
    public static void main(String[] args) {
         StaffDao staffDao = new StaffDaoImpl();
         Staff staff = staffDao.queryStaffById(4);
         System.out.println(staff);
    }
}
